package com.authine.cloudpivot.web.api.dao;

import com.authine.cloudpivot.web.api.vo.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserMapper {

    User getUserId(@Param("creater")String creater);

    String getDepId(@Param("userId")String userId);

    User getu();

    User getUserInfo(@Param("userName")String userName,@Param("email")String email);

    List<User> selectUser();

    User getUser(@Param("owner")String owner);

    void update(@Param("password")String password, @Param("userId")String userId);

    String selectById(@Param("userId")String userId);

    String getNameById(@Param("userId")String userId);
}
